'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.reportError = reportError;
exports.cleanError = cleanError;
var REPORT_ERROR = exports.REPORT_ERROR = '@@system/REPORT_ERROR';
var CLEAN_ERROR = exports.CLEAN_ERROR = '@@system/CLEAN_ERROR';

function reportError(error) {
  return {
    type: REPORT_ERROR,
    payload: error
  };
}

function cleanError() {
  return {
    type: CLEAN_ERROR
  };
}